package org.jeecg.modules.customer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 会员信息
 * @Author: jeecg-boot
 * @Date:   2020-07-14
 * @Version: V1.0
 */
@Data
@TableName("usr_user_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="usr_user_info对象", description="用户信息")
public class UsrUserInfo {

	/**主键ID*/
	@Excel(name = "主键ID", width = 15)
    @ApiModelProperty(value = "主键ID")
	@TableId(type = IdType.ID_WORKER_STR)
	private String userId;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**删除标识0-正常,1-已删除*/
	@Excel(name = "删除标识0-正常,1-已删除", width = 15)
    @ApiModelProperty(value = "删除标识0-正常,1-已删除")
	private Integer delFlag;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remark;
	/**登录名*/
	@Excel(name = "登录名", width = 15)
    @ApiModelProperty(value = "登录名")
	private String loginName;
	/**登录密码*/
	@Excel(name = "登录密码", width = 15)
    @ApiModelProperty(value = "登录密码")
	private String loginPwd;
	/**绑定手机号*/
	@Excel(name = "绑定手机号", width = 15)
    @ApiModelProperty(value = "绑定手机号")
	private String bindMobileNo;
	/**绑定邮箱*/
	@Excel(name = "绑定邮箱", width = 15)
    @ApiModelProperty(value = "绑定邮箱")
	private String bindEmail;
	/**昵称*/
	@Excel(name = "昵称", width = 15)
    @ApiModelProperty(value = "昵称")
	private String nickName;
	/**用户头像*/
	@Excel(name = "用户头像", width = 15)
    @ApiModelProperty(value = "用户头像")
	private String headPhoto;
	/**真实姓名*/
	@Excel(name = "真实姓名", width = 15)
    @ApiModelProperty(value = "真实姓名")
	private String realName;
	/**省份ID*/
	@Excel(name = "省份ID", width = 15)
    @ApiModelProperty(value = "省份ID")
	private Integer provinceId;
	/**城市ID*/
	@Excel(name = "城市ID", width = 15)
    @ApiModelProperty(value = "城市ID")
	private Integer cityId;
	/**区县标识ID*/
	@Excel(name = "区县标识ID", width = 15)
    @ApiModelProperty(value = "区县标识ID")
	private Integer countyId;
	/**联系地址*/
	@Excel(name = "联系地址", width = 15)
    @ApiModelProperty(value = "联系地址")
	private String address;
	/**qq号*/
	@Excel(name = "qq号", width = 15)
    @ApiModelProperty(value = "qq号")
	private String qq;
	/**性别*/
	@Excel(name = "性别", width = 15)
    @ApiModelProperty(value = "性别")
	private Integer sex;
	/**出生年月*/
	@Excel(name = "出生年月", width = 15)
    @ApiModelProperty(value = "出生年月")
	private String birthday;
	/**用户标签*/
	@Excel(name = "用户标签", width = 15)
    @ApiModelProperty(value = "用户标签")
	private String userLabel;
	/**证件类型*/
	@Excel(name = "证件类型", width = 15)
    @ApiModelProperty(value = "证件类型")
	private Integer cardType;
	/**证件号码*/
	@Excel(name = "证件号码", width = 15)
    @ApiModelProperty(value = "证件号码")
	private String cardNo;
	/**是否已认证邮箱*/
	@Excel(name = "是否已认证邮箱", width = 15)
    @ApiModelProperty(value = "是否已认证邮箱")
	private Integer isEmailAuth;
	/**是否已认证手机*/
	@Excel(name = "是否已认证手机", width = 15)
    @ApiModelProperty(value = "是否已认证手机")
	private Integer isMobileAuth;
	/**是否已实名认证*/
	@Excel(name = "是否已实名认证", width = 15)
    @ApiModelProperty(value = "是否已实名认证")
	private Integer isRealnameAuth;
	/**微信用户标识*/
	@Excel(name = "微信用户标识", width = 15)
    @ApiModelProperty(value = "微信用户标识")
	private String openId;
	/**注册渠道*/
	@Excel(name = "注册渠道", width = 15)
    @ApiModelProperty(value = "注册渠道")
	private Integer regChannel;
	/**是否禁止评论*/
	@Excel(name = "是否禁止评论", width = 15)
    @ApiModelProperty(value = "是否禁止评论")
	private Integer isRemark;
}
